NIELIT O Level Exam

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?

Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]?

मान लीजिए कि लिस्ट 1 है [2, 33, 222, 14, 25], लिस्ट 1 [-1] क्या है?

A. Error एरर

B. None कोई नहीं

C. 25

D. 2




Correct Answer is :

C. 25



Explanation
1 corresponds to the last index in the list.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad